/*
 * This file is a part of qloudgen-esb. 
 * You can redistribute qloudgen-esb and/or modify it under the terms of the Lesser GNU General Public License version 3. 
 * qloudgen-esb is distributed WITHOUT ANY WARRANTY. 
 * 
 * See the Lesser GNU General Public License for more details at http://www.gnu.org/licenses/.
 *  
 * Copyright (C) 2014 Qloudgen Technology
*/

package com.qloudgen.csb;

public final class CSB {
	private CSB() {}
	
	public static final String WORKER_READY  = "\001";      
	public static final String WORKER_ACK = "\002";         
	public static final String WORKER_HEARTBEAT = "\003";
	public static final String ROUTER_UNREACHABLE = "\004";
	public static final String INPROC_CONN = "inproc://InProc";  

	public static final int HEARTBEAT_LIVENESS = 3;         
	public static final int HEARTBEAT_INTERVAL =  1000;     

	public static final int RECONN_INTERVAL_INIT = 1000;    
	public static final int RECONN_INTERVAL_MAX = 32000;   

	public static final int SENDER_CHECK_INTERVAL = 1000;
	public static final int RECEIVER_CHECK_INTERVAL = 1000;
	public static final int PERF_COUNT_INTERVAL = 10000;	
}

